package com.ken.spring.transcation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookShopServiceImpl implements BookShopServiceIF {
    @Autowired
    BookShopDao bookShopDao;

    @Override
    public void buyBook(String username, Integer bookId) {
        System.out.println(bookShopDao.findBookPriceById(bookId));
    }
}
